<?php framework::view('index/header')?>
<?php framework::view('index/userleft')?>
        <div style="" class="lrtab">    
        <a href="<?php echo HIGHPHP_WWW_HOST?>user/publish" <?php if (framework::get('do')=='') {echo 'class="lrtabon"';}?> style="border-left: solid 1px #DFDFDF" >发布信息</a>
        <a href="<?php echo HIGHPHP_WWW_HOST?>user/publish/do/list" <?php if (framework::get('do')=='list') {echo 'class="lrtabon"';}?> >我的发布</a>
        </div>
        <div>
            <form name="form1" id="form1" action="" onsubmit="save();return false;">
            <table width="100%" cellpadding="3" cellspacing="1" class="ctable">
            
            <tr class="tr2">
            	<td style="width:60px;" align="center">发布类型</td>
            	<td style="width:350px;" align="center">标题</td>
                <td align="center">创建时间</td>
                <td align="center">状态</td>               
                <td align="center">获得积分</td>
               
                <td align="center">操作</td>
            </tr>
            <?php foreach ($rs['list'] as $k=>$v):?>
            <tr class="tr1">
                <td style="width:60px;" align="center"><?php echo User::getPublishTypeName($v['type'])?></td>
                <td style="width:305px;" align="center"><?php echo $v['title'];?></td>
                <td align="center"><?php echo date("Y/m/d H:i",$v['ctime']);?></td>
                <td align="center"><?php echo User::getStatusName($v['status']);?></td>
                
                <td align="center"><?php echo $v['getpoint'];?></td>
               
                <td align="center">
                <a href="<?php echo HIGHPHP_WWW_HOST.'user/publish/do/info/id/'.$v['id'];?>">详情</a>
                <a href="<?php echo HIGHPHP_WWW_HOST.'user/publish/do/edit/id/'.$v['id'];?>">修改</a> 
                <a href="<?php echo HIGHPHP_WWW_HOST.'user/publish/do/del/id/'.$v['id'];?>">删除</a></td>
            </tr>
            <?php endforeach;?>
            <tr>
            	<td colspan="6"><?php echo $rs['html'];?></td>
            	            	
            </tr>
            </table>
           
            </form>
        </div>
<?php framework::view('index/userfooter')?>
<?php framework::view('index/footer')?>